body {
    background: #f4f6fb;
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    margin: 0;
    padding: 0;
}

.note-container {
    max-width: 900px;
    margin: 40px auto 0 auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    padding: 32px 40px 24px 40px;
}

.note-title {
    text-align: center;
    font-size: 2.2rem;
    color: #333;
    margin-bottom: 32px;
    letter-spacing: 2px;
}

.search-bar {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 24px;
    gap: 12px;
}

.search-bar input.form-control {
    flex: 1;
    padding: 10px 14px;
    font-size: 1rem;
    border: 1px solid #d0d7de;
    border-radius: 6px;
    outline: none;
    transition: border 0.2s;
}

.search-bar input.form-control:focus {
    border-color: #409eff;
}

.search-bar .btn {
    padding: 10px 24px;
    background: #409eff;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
}

.search-bar .btn:hover {
    background: #3076d1;
}

.note-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.note-table th, .note-table td {
    padding: 14px 10px;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
    font-size: 1rem;
}

.note-table th {
    background: #f7faff;
    color: #409eff;
    font-weight: 600;
}

.note-table tbody tr:hover {
    background: #f0f7ff;
}

.note-table .action-btn {
    margin: 0 4px;
    padding: 6px 14px;
    border: none;
    border-radius: 4px;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background 0.2s;
}

.note-table .view-btn {
    background: #67c23a;
    color: #fff;
}

.note-table .view-btn:hover {
    background: #4cae1c;
}

.note-table .edit-btn {
    background: #e6a23c;
    color: #fff;
}

.note-table .edit-btn:hover {
    background: #b88230;
}

.note-table .delete-btn {
    background: #f56c6c;
    color: #fff;
}

.note-table .delete-btn:hover {
    background: #c0392b;
}

.add-btn {
    font-size: 1.6rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #409eff;
    color: #fff;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(64,158,255,0.12);
    transition: background 0.2s;
}

.add-btn:hover {
    background: #3076d1;
}

.footer {
    text-align: center;
    color: #aaa;
    font-size: 0.95rem;
    margin-top: 32px;
}

/* 弹窗样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    overflow: auto;
    background: rgba(0,0,0,0.25);
}

.modal-content {
    background: #fff;
    margin: 60px auto;
    padding: 32px 40px;
    border-radius: 10px;
    max-width: 520px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.12);
    position: relative;
}

.close {
    position: absolute;
    right: 18px;
    top: 12px;
    font-size: 1.6rem;
    color: #aaa;
    cursor: pointer;
    transition: color 0.2s;
}

.close:hover {
    color: #f56c6c;
}

@media (max-width: 1100px) {
    .note-container {
        max-width: 98vw;
        padding: 18px 4vw 12px 4vw;
    }
    .modal-content {
        max-width: 96vw;
        padding: 18px 4vw;
    }
}
